package com.atguigu.springcloud.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommonResult<T>{
    private String code;
    private T data;
    private String message;

    public CommonResult(String message,String code){
        this.code=code;
        this.message=message;
    }

}
